//
//  ALScrollView.h
//  ios-loan-assistant
//
//  Created by hcs on 2018/8/31.
//  Copyright © 2018年 guoqingping. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ALScrollView : UIScrollView
@property (retain, nonatomic, readonly) UIImageView *verticalIndicator;
@property (retain, nonatomic, readonly) UIImageView *horizontalIndicator;
@property (nonatomic , assign) BOOL canVerticalScr; //能水平滑动
@property (nonatomic , assign) BOOL canHorizontalScr; //能水平滑动


- (void)scrollToTopAnimated:(BOOL)animation;
- (void)scrollToBottomAnimated:(BOOL)animation;

//子视图位置变化时调整contentSize。
- (void)contentSizeToFit;

@end
